import UIManager from "./UIManager";
const {ccclass, property} = cc._decorator;

@ccclass
export default class UIBase extends cc.Component {

    @property(cc.Node) ndMask: cc.Node = null

    params = null;

    _OnClickClose() {
        this.Close();
    }

    start() {
    }

    Close() {
        UIManager.ins().CloseUI(this.name);
    }

    UpdateView(){}

    onDestroy() {}

    _OnClick(nd: any) {}

}